package com.honghu.cloud.service;

import java.util.List;
import java.util.Map;

import com.honghu.cloud.bean.SeckillGoods;

/**
 * 商品service接口
 * 
 * @author Administrator
 *
 */
public interface ISeckillGoodsService {

	public void batchDelObjs(List<SeckillGoods> objs);

	public SeckillGoods getObjByProperty(String key, String operation_symbol, Object value);

	public List<SeckillGoods> selectObjByProperty(Map<String, Object> maps);

	public List<SeckillGoods> queryPages(Map<String, Object> params);

	public List<SeckillGoods> queryPageListWithNoRelations(Map<String, Object> param);

	public List<SeckillGoods> queryPagesWithNoRelations(Map<String, Object> params, Integer currentPage,
			Integer pageSize);

	public void batchDeleteByIds(List<Long> ids);

	public void saveEntity(SeckillGoods obj);

	public void updateById(SeckillGoods obj);

	public void deleteById(Long id);

	public SeckillGoods selectByPrimaryKey(Long id);

	public List<SeckillGoods> queryPageList(Map<String, Object> params, Integer begin, Integer max);

	public List<SeckillGoods> queryPageList(Map<String, Object> params);

	public int selectCount(Map<String, Object> params);

	public void secondKillBegins();

	public void secondKillEnd();

	public int secKill(Long currentUserId, String goods_id,String gsp);

	public void secondKillNoPay();

	public void secondKillBegins2();
	
	

}
